// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store/index'

// 引入公共脚手架模块
import permission from './common/permission.js'
Vue.use(permission)

// 引入公共方法模块
import { comMix } from './common/comMix.js'

/* eslint-disable no-new */
var vm = new Vue({
  el: '#app',
  router,
  store,
  extends: comMix,
  render: h => h(App)
})
window.vm = vm
